<template>
	<view>
		<view class="home-middle">
			<view class="flex-row" style="justify-content: space-between;">
				<view class="middle-item" @click="goPath('/pages/studyAll/skill/skill')">
					<image :src="$IMG_URL+'skillImprovement.png'" style="width: 190rpx;height: 190rpx;"></image>
					<view class="item-title">技能提升</view>
				</view>
				<view class="middle-item" @click="goPath('/pages/studyAll/rates/rates')">
					<image :src="$IMG_URL+'charge.png'" style="width: 190rpx;height: 190rpx;"></image>
					<view class="item-title">辅材收费标准</view>
				</view>


			</view>
			<view class="flex-row" style="justify-content: space-between;margin-top: 15px;">
				<view class="middle-item" @click="goPath('/pages/studyAll/rule/rule')">
					<image :src="$IMG_URL+'platform.png'" style="width: 190rpx;height: 190rpx;"></image>
					<view class="item-title">平台规则</view>
				</view>
				<view class="middle-item" @click="goPath('/pages/studyAll/operate/operate')">
					<image :src="$IMG_URL+'operate.png'" style="width: 190rpx;height: 190rpx;"></image>
					<view class="item-title">APP操作</view>
				</view>


			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goPath(url) {
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.home-middle {
		width: 100vw;
		padding: 23rpx 31rpx;
	}

	.middle-item {
		width: 337rpx;
		height: 308rpx;
		background: #FFFFFF;
		border-radius: 19rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		font-size: 27rpx;
		color: #000000;

		.item-title {

			margin-top: 8rpx;
		}
	}
</style>